package com.chen.templatemethoddesignpattern;

// 测试类
public class Main {
    public static void main(String[] args) {
        System.out.println("Preparing Coffee:");
        CaffeineBeverage coffee = new Coffee();
        coffee.prepareRecipe();

        System.out.println("\nPreparing Tea:");
        CaffeineBeverage tea = new Tea();
        tea.prepareRecipe();
    }
}